package com.xg.serviceOrder.remote;

import com.xg.common.request.OrderItemDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-car-provider")
public interface ServiceCarFeignClient {

    @GetMapping("/usedCar/carInfo")
    OrderItemDTO getCarByCarId(@RequestParam("carId") Long carId);


    @GetMapping("/usedCar/updateUsedCar")
    void updateUsedCar(@RequestParam("carId")Long carId);
}
